

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <meta name="layout" content="main" />
        <g:set var="entityName" value="${message(code: 'studentInfo.label', default: 'StudentInfo')}" />
        <title>个人信息</title>
    </head>
    <body>
        <div class="body">
            <h1>个人信息</h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <div class="dialog">
                <table>
                    <tbody>
                        <tr class="prop">
                            <td valign="top" class="name">个人信息</td>
                            
                            <td valign="top" class="value">${fieldValue(bean: studentInfoInstance, field: "id")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">英文名</td>
                            
                            <td valign="top" class="value">${fieldValue(bean: studentInfoInstance, field: "enname")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">头像</td>
                            
                            <td valign="top" class="value">
                            <g:if test="${studentInfoInstance && studentInfoInstance.avatar}">
                                <img src="/GrailsBlog/download/index/${studentInfoInstance.avatar.id}"/>
                            </g:if>
                            </td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">qq</td>
                            
                            <td valign="top" class="value">${fieldValue(bean: studentInfoInstance, field: "qq")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">Email</td>
                            
                            <td valign="top" class="value">${fieldValue(bean: studentInfoInstance, field: "email")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">电话</td>
                            
                            <td valign="top" class="value">${fieldValue(bean: studentInfoInstance, field: "tel")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">兴趣爱好</td>
                            
                            <td valign="top" class="value">${fieldValue(bean: studentInfoInstance, field: "interest")}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">自我评价</td>
                            
                            <td valign="top" class="value">${fieldValue(bean: studentInfoInstance, field: "introduce")}</td>
                            
                        </tr>
                    
                       <tr class="prop">
                            <td valign="top" class="name" span="2">
                            <g:link controller="studentInfo" action="edit">继续完善我的信息</g:link>
                            </td>
                            
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </body>
</html>
